package com.lichunsheng.stu.service.impl;

import com.lichunsheng.stu.dao.PeRoleDao;
import com.lichunsheng.stu.entity.PeRole;
import com.lichunsheng.stu.service.PeRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class PeRoleServiceImpl implements PeRoleService {
    @Autowired
    private PeRoleDao peRoleDao;

    @Override
    public Set<PeRole> findByUserName(String id) {
        return peRoleDao.findByUserName(id);
    }
}
